{{ define "main" }}
  <h1>{{ .Title }}</h1>

  {{ with .Description }}
    <p>{{.}}</p>
  {{ end }}
  <aside>
    {{.TableOfContents}}
  </aside>
  <div class="e-content">
    {{ .Content }}

    <p style="color: #687590;">
      {{ i18n "lastUpdated" }} {{ .Lastmod.Format "January 2, 2006" }}{{ with .File }} · <a href='https://github.com/tootsuite/documentation/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>

      {{ if .IsTranslated }}
        <br />

        {{ i18n "otherTranslations" }}

        {{ range .Translations }}
          <a href="{{ .Permalink }}" style="color: #687590;" hreflang="{{ .Lang }}">{{ .Language.LanguageName }}</a>
        {{ end }}
      {{ end }}
    </p>

  </div>
{{ end }}
